home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12478 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  629 b 

  1. Path: dfw.dfw.net!not-for-mail
  2. From: ftlgeuse@dfw.dfw.net (Azazel Diabolus            (aka Fetelgeuse))
  3. Newsgroups: comp.lang.c
  4. Subject: array[index]
  5. Date: 30 Mar 1996 05:56:44 GMT
  6. Organization: DFW Internet Services - DFWNet: 800-2-DFWNet
  7. Message-ID: <4jiies$3bh@fnord.dfw.net>
  8. NNTP-Posting-Host: dfw.dfw.net
  9. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  10.  
  11. On my platform's assembly language a[n] is the same as n[a]; is this also 
  12. valid in C? Does array[index] give the same address as index[array]? I 
  13. will try this after I post it but I would like to know if this is 
  14. something defined by the ANSI standard. Thanks,
  15. Fetelgeuse
  16.  
  17.